#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Times
{
    /// <summary> 
	/// ! This class provides methods for determining the length of a time period according to given market convention, both as a number of days and as a year fraction.  The Bridge pattern is used to provide the base behavior of the day counter.  \ingroup datetime
	/// </summary>
    [Guid ("4B131AA2-A407-403b-862E-E1CDB0BCD579"),ComVisible(true)]
	public interface IDayCounter 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Int64 DayCount(DateTime prm1, DateTime prm2);
        /// <summary> 
		/// 
		/// </summary>
		 Boolean Empty {get;}
        /// <summary> 
		/// 
		/// </summary>
		 String Name {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double YearFraction(DateTime prm1, DateTime prm2, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodStart, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodEnd);
    }   

    /// <summary> 
	/// ! This class provides methods for determining the length of a time period according to given market convention, both as a number of days and as a year fraction.  The Bridge pattern is used to provide the base behavior of the day counter.  \ingroup datetime Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IDayCounter_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IDayCounter Create ();
    }
}

